﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;

namespace MM.Model
{
    /// <summary>
    /// Mask
    /// </summary>
    public class Mask
    {

        /// <summary>
        /// Mask 构造函数
        /// </summary>
        public Mask()
        { }


        /// <summary>
        /// Mask OR映射构造函数
        /// </summary>
        public Mask(System.Data.IDataReader dr)
        {
            this.ID = Convert.ToInt32(dr["ID"]);
            this.ChannelNO = Convert.ToString(dr["ChannelNO"]);
            this.TelNumber = Convert.ToString(dr["TelNumber"]);
            this.Chinese = Convert.ToString(dr["Chinese"]);
            this.English = Convert.ToString(dr["English"]);
            this.CreateTime = Convert.ToDateTime(dr["CreateTime"]);
        }


        /// <summary>
        /// 
        /// </summary>
        public int ID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string ChannelNO { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string TelNumber { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Chinese { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string English { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
